<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<!-- <link rel="shortcut icon" href="img/logo.ico" /> -->
		<title>登录</title>
		<link rel="stylesheet" href="bootstrap/css/bootstrap.css" />
		<link rel="stylesheet" href="css/style.css" />
	</head>
	<body>
		<link rel="stylesheet" href="css/nav.css" />
		<div class="container-fluid">
			<div class="row">
				  <!-- <div class="col-md-3"></div> -->
					<div class="col-md-4 col-md-offset-4 login-box">
							<br/>
							<img src="images/logo.png" alt="" class="logo-img"/>
							<br/>
							<br/>
							<br/>
							<form id="login">
									<div class="form-group form-group-lg">
											<label for="username" class="sr-only">用户名</label>
											<div class="input-group">
													<div class="input-group-addon">
															<span class="glyphicon glyphicon-user"></span>
													</div>
													<input type="text" name="username" placeholder="请输入用户名" id="username" class="form-control">
											</div>
									</div>
									<div class="form-group form-group-lg">
											<label for="password" class="sr-only">密码</label>
											<div class="input-group">
													<div class="input-group-addon">
															<span class="glyphicon glyphicon-lock"></span>
													</div>
													<input type="password" autocomplete="new-password" name="password" placeholder="请输入密码" id="password" class="form-control">
											</div>
									</div>
									<button type="button" class="btn btn-warning btn-lg btn-block" id="loginBtn">登录</button>
							</form>
					</div>
			</div>
	</div>

	</body>
</html>
<script src="js/jquery.min.js"></script>
<script type="text/javascript" src="bootstrap/js/bootstrap.min.js" ></script>
<script type="text/javascript" src="plugin/fromRegxp/bootstrapValidator.min.js"></script>
<script type="text/javascript" src="js/cookie.js"></script>
<script type="text/javascript" src="js/md5.min.js"></script>
<script type="text/javascript" src="js/login.js"></script>
<script type="text/javascript" src="plugin/layer/layer.js"></script>
<script type="text/javascript">
// $('#login')
// 			.bootstrapValidator({
// 					message: 'This value is not valid',
// 					feedbackIcons: {
// 							valid: 'glyphicon glyphicon-ok',
// 							invalid: 'glyphicon glyphicon-remove',
// 							validating: 'glyphicon glyphicon-refresh'
// 					},
// 					fields: {
// 							username: {
// 									message: '用户名无效',
// 									validators: {
// 											notEmpty: {
// 													message: '用户名不能为空'
// 											},
											// stringLength: {
											// 		min: 6,
											// 		max: 16,
											// 		message: '用户名长度必须大于等于6，小于16个字符。'
											// },
											// regexp: {
											// 		regexp: /^[a-zA-Z0-9_\.]+$/,
											// 		message: '用户名只能由字母、数字、点和下划线组成'
											// }
							// 		}
							// },
							// password: {
							// 	message: '密码无效',
							// 		validators: {
							// 				notEmpty: {
							// 						message: '密码不能为空'
							// 				},
											// stringLength: {
											// 		min: 6,
											// 		max: 16,
											// 		message: '密码长度必须大于等于3，小于16个字符。'
											// }
			// 						}
			// 				}
			// 		}
			// });
</script>
